
import { Injectable, Injector } from '@angular/core';
import { NgRepository } from '@farris/devkit';
import { BefRepository, NgVariable } from '@farris/bef';
import { GysxxEntity } from './entities/gysxxentity';

import { GysxxProxy } from './gysxxproxy';

@Injectable()
@NgRepository({
    apiUrl: 'api/suppliem/gys/v1.0/gysxx_frm',
    entityType: GysxxEntity
})
export class GysxxRepository extends BefRepository<GysxxEntity> {
    public name = 'GysxxRepository';

    public proxy: GysxxProxy;
    public paginationInfo = {
        GysxxEntity: {
            pageSize: 20,
        }
    };
    constructor(injector: Injector) {
        super(injector);
        this.proxy = injector.get(GysxxProxy, null);
    }
}